Makefile 393 B

1234567891011121314151617
  1. # This makefile isn't autogenerated. Very likely to fail depending on the
  2. # distro it's being compiled on. Maybe, maybe later on I'll integrate autotools
  3. CC=cc
  4. CFLAGS=-Wall -g -O3 -std=c11
  5. LDFLAGS=
  6. PREFIX=./bin
  7. TARGET=clibudget
  8. all:
  9. mkdir -p $(PREFIX)
  10. $(CC) $(CFLAGS) -o $(PREFIX)/$(TARGET) ./src/*.c
  11. debug:
  12. mkdir -p $(PREFIX)
  13. $(CC) $(CFLAGS) -DDEBUG -o $(PREFIX)/$(TARGET) ./src/*.c