Makefile 325 B

123456789101112
  1. run: build
  2. ./timer 10
  3. build: build/main.o
  4. gcc build/main.o build/gtk_simplified.o `pkg-config --cflags gtk+-3.0` `pkg-config --libs gtk+-3.0` -o timer
  5. build/main.o: src/main.c
  6. gcc -c src/main.c `pkg-config --cflags gtk+-3.0` `pkg-config --libs gtk+-3.0` -o build/main.o
  7. clean:
  8. rm build/main.o percentage_calculator