- refactored

- use builtin vars to invoke compilers

git-svn-id: http://moon:8086/svn/software/trunk/make@905 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2022-06-01 08:18:00 +00:00
parent c38018073f
commit c3a4e19723
2 changed files with 7 additions and 10 deletions
+5 -1
View File
@@ -1,7 +1,11 @@
-include $(DEPS)
LDFLAGS_release :=
LDFLAGS_debug := -g
LDFLAGS += ${LFLAGS_${CONFIG}}
${BUILD_DIR}/${TARGET}: ${OBJS} $(BUILD_DIR)
gcc ${LFLAGS} ${OBJS} ${LIBS} -o $@
$(CC) ${LDFLAGS} ${OBJS} ${LIBS} -o $@
test:
@echo $(DEPS)