Skip to content
Snippets Groups Projects
Commit 28aac19e authored by dario.genga's avatar dario.genga
Browse files

Project refactoring

Moved the testbed folder at root and deleted skeleton_for_students
folder.

Edited the makefile in order to run the tests.

Edited the .gitignore to ignore CLion files.
parent 228c5bfe
Branches
No related tags found
No related merge requests found
Showing
with 7 additions and 11 deletions
......@@ -78,4 +78,6 @@ dkms.conf
# End of https://www.toptal.com/developers/gitignore/api/c,visualstudiocode
# Custom gitignore for project
puissance
\ No newline at end of file
puissance
cmake-build-debug
.idea
\ No newline at end of file
......@@ -8,5 +8,8 @@ puissance.o: puissance.c puissance.h
$(CC) -c $< $(LIB)
main.o: main.c
$(CC) -c $< $(LIB)
tests: puissance
$(MAKE) -C testbed
clean:
rm -f *.o puissance test
\ No newline at end of file
rm -f *.o puissance test
$(MAKE) -C testbed clean
\ No newline at end of file
puissance4:
@echo "first rule which must create the puissance4 executable"
clean:
@echo "this rule must clean everything up (including candidate files in testbed)"
$(MAKE) -C testbed clean
tests: puissance4
$(MAKE) -C testbed
\ No newline at end of file
File deleted
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment