diff options
-rw-r--r-- | project/common.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/project/common.mk b/project/common.mk index ed5797e..ef0339d 100644 --- a/project/common.mk +++ b/project/common.mk @@ -4,6 +4,9 @@ core/Modules/config.lo: build/config.c $(ALL_HEADERS) host.tag tree.tag config.t core/Modules/config.o: build/config.c $(ALL_HEADERS) host.tag tree.tag config.tag $(CC) -c -o $@ $< $(CFLAGS_STATIC) +core/%.ao: $(SOURCE_DIR)/%.c $(ALL_HEADERS) host.tag tree.tag config.tag + $(CC) -c -o $@ $< $(CFLAGS_APP) + core/%.lo: $(SOURCE_DIR)/%.c $(ALL_HEADERS) host.tag tree.tag config.tag $(CC) -c -o $@ $< $(CFLAGS_SHARED) |