Changes in Makefiles to clean the bin folder but keeping the cmake files and more

This commit is contained in:
George Sokianos 2021-12-27 21:24:51 +00:00
parent c020f3b426
commit 1ea55036a3
3 changed files with 6 additions and 1 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
*.o

View File

@ -4,7 +4,7 @@
CXX = g++
CXXFLAGS = -mcrt=clib2 -O3 -Iinclude -Igpc -Ifont_freetype
CXXLIBS = -Llib -lagg
CXXLIBS = -Llib -lagg -athread=native
CC = gcc
CFLAGS = -mcrt=clib2 -O3 -Igpc
AR = ar
@ -170,7 +170,9 @@ freetype: lib $(FREETYPE_EXAMPLES)
clean:
-@Delete *>NIL: FORCE QUIET examples/#?.o
-@Delete *>NIL: FORCE QUIET $(PLATFORM_OBJ) $(FREETYPE_OBJ) $(LIB_OBJ) $(SVG_OBJ)
-@copy CLONE ALL bin/#?.cmake#? T:agg_tmp
-@Delete *>NIL: FORCE QUIET ALL lib bin
-@copy CLONE T:agg_tmp/#? bin
install: lib
-@Copy CLONE $(LIBNAME) SDK:Local/clib2/lib

View File

@ -171,7 +171,9 @@ freetype: lib $(FREETYPE_EXAMPLES)
clean:
-@Delete *>NIL: FORCE QUIET examples/#?.o
-@Delete *>NIL: FORCE QUIET $(PLATFORM_OBJ) $(FREETYPE_OBJ) $(LIB_OBJ) $(SVG_OBJ)
-@copy CLONE ALL bin/#?.cmake#? T:agg_tmp
-@Delete *>NIL: FORCE QUIET ALL lib bin
-@copy CLONE T:agg_tmp/#? bin
install: lib
-@Copy CLONE $(LIBNAME) SDK:Local/newlib/lib