-.PHONY: all objdir clean realclean distclean
+.PHONY: all objdir cleantarget clean realclean distclean
# CORE VARIABLES
LIBS += $(SHAREDLIB) $(EXECUTABLE) $(LINKOPT)
PRJ_CFLAGS += \
- $(if $(DEBUG), -g, -O2 -ffast-math) $(FPIC) -w
+ $(if $(DEBUG), -g, -O2 -ffast-math) $(FPIC) -w $(FORCE_32_BIT)
$(OBJ)transupp.o: transupp.c
$(CC) $(CFLAGS) $(PRJ_CFLAGS) -c transupp.c -o $(OBJ)transupp.o
-clean: objdir
+cleantarget: objdir
$(call rmq,$(TARGET))
+
+clean: cleantarget
$(call rmq,$(_OBJECTS1))
$(call rmq,$(_OBJECTS2))
-realclean: clean
+realclean: cleantarget
$(call rmrq,$(OBJ))
-distclean:
+distclean: cleantarget
$(call rmrq,obj/)