diff options
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile index 012189d..6cd405c 100644 --- a/src/Makefile +++ b/src/Makefile @@ -120,6 +120,8 @@ endif CXXFLAGS = $(CFLAGS) +# Special rules +param.$(EXTENSION): param.h paramDump.h paramGui.h paramRoute.h paramCustom.h paramFile.h paramPath.h ### C++ files @@ -142,6 +144,8 @@ CXXFLAGS = $(CFLAGS) @echo "- Building $*.o" @$(CC) $(OPT_CFLAGS) $(CFLAGS) -o "$*.o" -c "$*.c" + + %.$(EXTENSION): %.o @echo "- Linking $*.$(EXTENSION)" @$(CC) $(LDFLAGS) -o "$*.$(EXTENSION)" "$*.o" $(LIBS) \ |