CFLAGS =
LDFLAGS =
endif
+PRJ_CFLAGS =
CECFLAGS =
OFLAGS =
LIBS =
$(call _L,ecBootstrap)
endif
-CFLAGS += \
+PRJ_CFLAGS += \
$(if $(DEBUG), -g, -O2 -ffast-math) $(FORCE_32_BIT) $(FPIC) -w \
-DECERE_STATIC
# OBJECT RULES
$(OBJ)ecp.o: bootstrap/ecp.c
- $(CC) $(CFLAGS) $(FVISIBILITY) -c bootstrap/ecp.c -o $(OBJ)ecp.o
+ $(CC) $(CFLAGS) $(PRJ_CFLAGS) $(FVISIBILITY) -c bootstrap/ecp.c -o $(OBJ)ecp.o
$(OBJ)ecp.main.o: bootstrap/ecp.main.c
- $(CC) $(CFLAGS) $(FVISIBILITY) -c bootstrap/ecp.main.c -o $(OBJ)ecp.main.o
+ $(CC) $(CFLAGS) $(PRJ_CFLAGS) $(FVISIBILITY) -c bootstrap/ecp.main.c -o $(OBJ)ecp.main.o
clean: objdir
$(call rmq,$(TARGET))
$(call rmq,$(OBJECTS))
-realclean: clean
+realclean: objdir
$(call rmrq,$(OBJ))
-distclean:
+distclean: objdir
$(call rmrq,obj/)