summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-03-27 12:16:01 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2010-03-27 12:16:01 +0100
commitea00c2fc6d91d71b8cf3c8408af8ca8de7c037a6 (patch)
treed113e1e07c6ae4fe7b9b3d27d35b1e23885abbad /src/Makefile
parent69d69f145763f01724efdce119f6312272022740 (diff)
Makefile/config.mk: Support getting the usual values from the environment.
No need to edit config.mk to set addictional CFLAGS/LDFLAGS or change the DESTDIR etc. now
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Makefile b/src/Makefile
index b23bde0..a5ea9b0 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,13 +1,13 @@
include ../config.mk
-TARGETS = $(shell echo *.c)
-OBJECTS = $(TARGETS:.c=.o)
+TARGETS = ${shell echo *.c}
+OBJECTS = ${TARGETS:.c=.o}
-feh: deps.mk $(OBJECTS)
- $(CC) $(CFLAGS) -o $@ $(OBJECTS) $(LDFLAGS)
+feh: deps.mk ${OBJECTS}
+ ${CC} ${CFLAGS} -o $@ ${OBJECTS} ${LDFLAGS}
-deps.mk: $(TARGETS)
- $(CC) -MM $(TARGETS) > $@
+deps.mk: ${TARGETS}
+ ${CC} -MM ${TARGETS} > $@
include deps.mk