commit baab20ff52397bd5090eac90896bb2ba2aa1be76 parent 743996be6ac2a53ed8356d8a3980d96e070a7f01 Author: Quentin Rameau <quinq@fifth.space> Date: Sat, 24 Feb 2018 15:38:45 +0100 Move build rules from config.mk to Makefile Diffstat:
Makefile | | | 6 | ++++++ |
config.mk | | | 6 | ------ |
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile @@ -30,3 +30,9 @@ install: $(BIN) uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/$(BIN) + +# Stock FLAGS +SACCCFLAGS = -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE $(CFLAGS) + +.c.o: + $(CC) $(SACCCFLAGS) -c $< diff --git a/config.mk b/config.mk @@ -8,9 +8,3 @@ MANDIR = $(PREFIX)/share/man/man1 # ti (screen-oriented) UI=ti LIBS=-lcurses - -# Stock FLAGS -SACCCFLAGS = -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE $(CFLAGS) - -.c.o: - $(CC) $(SACCCFLAGS) -c $<