diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2015-09-08 17:25:17 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2015-09-08 17:25:17 +0000 |
commit | 886098cbd6edd6e3884130bb7d1805816aeccea7 (patch) | |
tree | 1d7b0866e974c1598b2c0d0e694554b79f22f996 | |
parent | b6e0dad883c7209db2ef069f3710e0d34bdc22c8 (diff) |
simplified make rules and provide pre-object rule
svn path=/trunk/externals/iemlib/; revision=17558
-rw-r--r-- | Make.include | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Make.include b/Make.include index ca74728..7dcd744 100644 --- a/Make.include +++ b/Make.include @@ -54,6 +54,8 @@ $(TARGET).$(EXT): $(OBJ) @echo :: $^ $(LD) $(PD_LDFLAGS) -o $@ $^ $(PD_LIB) -$(OBJ) : %.o : %.c +%.o : %.c $(CC) $(PD_CFLAGS) $(PD_INCLUDES) -c -o $@ $< +%.$(EXT): %.o + $(LD) $(PD_LDFLAGS) -o $@ $^ $(PD_LIB) |