summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2011-07-21 14:21:57 +0000
committerSimon Howard2011-07-21 14:21:57 +0000
commit736082f2c07aec39311b8356e474f447c06abcd3 (patch)
treee470864a36f98f7876a6190461f3df6a3349a048 /src
parent16dc726ccb49d94def51487486bf81958620e81d (diff)
downloadchocolate-doom-736082f2c07aec39311b8356e474f447c06abcd3.tar.gz
chocolate-doom-736082f2c07aec39311b8356e474f447c06abcd3.tar.bz2
chocolate-doom-736082f2c07aec39311b8356e474f447c06abcd3.zip
Don't use $^ in Makefiles, as it s a GNU make extension (thanks Jakub
Lach). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2354
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 24c6e2b2..40be7787 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -187,26 +187,26 @@ appdir = $(prefix)/share/applications
app_DATA = @PROGRAM_PREFIX@doom.desktop
@PROGRAM_PREFIX@doom.desktop : doom.desktop
- cp $^ $@
+ cp $< $@
screensaverdir = $(prefix)/share/applications/screensavers
screensaver_DATA = @PROGRAM_PREFIX@doom-screensaver.desktop
@PROGRAM_PREFIX@doom-screensaver.desktop: doom-screensaver.desktop
- cp $^ $@
+ cp $< $@
.rc.o:
- $(WINDRES) $^ -o $@
+ $(WINDRES) $< -o $@
%.o : %.rc
- $(WINDRES) $^ -o $@
+ $(WINDRES) $< -o $@
if HAVE_PYTHON
icon.c : ../data/doom8.ico
- ../data/convert-icon $^ $@
+ ../data/convert-icon $< $@
endif
midiread : midifile.c
- $(CC) -DTEST $(CFLAGS) @LDFLAGS@ $^ -o $@
+ $(CC) -DTEST $(CFLAGS) @LDFLAGS@ $< -o $@