aboutsummaryrefslogtreecommitdiff
path: root/core/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'core/Makefile')
-rw-r--r--core/Makefile22
1 files changed, 2 insertions, 20 deletions
diff --git a/core/Makefile b/core/Makefile
index 73efdce..05fe33f 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -7,26 +7,8 @@
include ../config.mk
# Utilities
-all: clean $(CORE)
-
OBJ=$(CORE:=.o)
+all: clean $(CORE)
$(CORE): $(@:=.o)
-$(OBJ): config
-
-config:
- @echo "VERSION = $(VERSION)"
- @echo "CFLAGS = $(CFLAGS)"
- @echo "CC = $(CC)"
- @echo "DESTDIR = $(DESTDIR)"
- @echo "PREFIX = $(PREFIX)"
- @echo "INCLUDE_EXTRA = $(INCLUDE_EXTRA)"
-
-.o:
- [ ! -e $< ] || $(CC) $(CFLAGS) $< ../common/common.c -o $@
-
-.c.o:
- [ ! -e $< ] || $(CC) $(CFLAGS) $(NOLINKER) $< -o $@
-# Cleaning
-clean:
- rm -f *.o version.h $(CORE)
+include ../common.mk