Makefile 191 B

123456789101112131415
  1. CFLAGS := -O2 -Wall
  2. LDFLAGS :=
  3. LDLIBS :=
  4. all: bin2iso
  5. bin2iso: bin2iso.c
  6. $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o $@
  7. %.o: %.c
  8. $(CC) -c $(CFLAGS) $^ -o $@
  9. clean:
  10. rm -f bin2iso *.o