1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
all: stm_test stm_test: main.o fileop.o gcc -o $@ $^ fileop.o: fileop.c gcc -c $< main.o: main.c test_commands.h gcc -c $< clean: rm -rf *.o rm stm_test