Files
mbusgateway3variant/tests/test2/Makefile
2023-03-18 18:03:05 +01:00

16 lines
141 B
Makefile

test: test.o
gcc -o $@ $^
test.o: test.c
gcc -c -o $@ $(CFLAGS) $^
.PHONY: run
run: test
./test
.PHONY: clean
clean:
rm -f *.o test