Move build rules from config.mk to Makefile - sacc - sacc(omys), simple console… | |
git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65… | |
Log | |
Files | |
Refs | |
Tags | |
LICENSE | |
--- | |
commit baab20ff52397bd5090eac90896bb2ba2aa1be76 | |
parent 743996be6ac2a53ed8356d8a3980d96e070a7f01 | |
Author: Quentin Rameau <[email protected]> | |
Date: Sat, 24 Feb 2018 15:38:45 +0100 | |
Move build rules from config.mk to Makefile | |
Diffstat: | |
M Makefile | 6 ++++++ | |
M 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 $< |