Makefile 176 B

12345678910111213
  1. all : test
  2. test : test.o buffer.o home_easy.o utils.o
  3. gcc -o $@ $^ -lwiringPi
  4. test.o : test.c
  5. gcc -c $< -o $@
  6. %.o : ../%.c ../%.h
  7. gcc -c $< -o $@
  8. clean:
  9. rm -f test *.o