This is a simple Makefile
The problem is it won't run the commands of the target $(TESTS).Code:CFLAGS = -Wall CC = gcc TESTS := $(wildcard encryption/*.c) tests: $(TESTS) echo "TESTS are compiled under tests/" echo "TODO: run the testunit" # echo $? $(TESTS): echo $@ # echo $(CC) $(CFLAGS) -DTEST -o tests/$@ [email protected]
What am I missing?