mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-01 13:50:36 +00:00
make clean should clear ./internal/temp
This commit is contained in:
parent
ec484f5b1e
commit
bc7df798c3
5
Makefile
5
Makefile
|
@ -317,10 +317,13 @@ EXE_OBJS := $(QBLIB) $(EXE_OBJS)
|
|||
%.o: %.cpp
|
||||
$(CXX) $(CXXFLAGS) $< -c -o $@
|
||||
|
||||
# FIXME: 32-bit support
|
||||
$(PATH_INTERNAL_TEMP)/data.o: $(PATH_INTERNAL_TEMP)/data.bin
|
||||
$(OBJCOPY) -Ibinary $(OBJCOPY_FLAGS) $< $@
|
||||
|
||||
# Clean all files out of ./internal/temp except for temp.bin
|
||||
CLEAN_LIST += $(wildcard $(PATH_INTERNAL_TEMP)/*)
|
||||
CLEAN_LIST := $(filter-out $(PATH_INTERNAL_TEMP)/temp.bin,$(CLEAN_LIST))
|
||||
|
||||
clean:
|
||||
$(RM) $(call FIXPATH,$(CLEAN_LIST))
|
||||
|
||||
|
|
Loading…
Reference in a new issue