tMove build rules from config.mk to Makefile - sacc - sacc (saccomys): simple gopher client. (DIR) Log (DIR) Files (DIR) Refs (DIR) LICENSE --- (DIR) commit baab20ff52397bd5090eac90896bb2ba2aa1be76 (DIR) parent 743996be6ac2a53ed8356d8a3980d96e070a7f01 (HTM) 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(-) --- (DIR) diff --git a/Makefile b/Makefile t@@ -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 $< (DIR) diff --git a/config.mk b/config.mk t@@ -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 $<