From 1ea55036a3cd50487f06adcf2863f7d4ee89cb60 Mon Sep 17 00:00:00 2001 From: George Sokianos Date: Mon, 27 Dec 2021 21:24:51 +0000 Subject: [PATCH] Changes in Makefiles to clean the bin folder but keeping the cmake files and more --- .gitignore | 1 + Makefile.AmigaOS | 4 +++- Makefile.AmigaOS-newlib | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e69de29..5761abc 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +*.o diff --git a/Makefile.AmigaOS b/Makefile.AmigaOS index 39eb09e..6a07c4d 100644 --- a/Makefile.AmigaOS +++ b/Makefile.AmigaOS @@ -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 diff --git a/Makefile.AmigaOS-newlib b/Makefile.AmigaOS-newlib index 613da63..eb0ce5a 100644 --- a/Makefile.AmigaOS-newlib +++ b/Makefile.AmigaOS-newlib @@ -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