mirror of
https://github.com/amiwm/amiwm.git
synced 2026-03-24 01:24:15 +00:00
[libami] Make 'clean' a libami target
To make it easier / cleaner to build libami by itself, make a clean target and call into it from the top level makefile as needed.
This commit is contained in:
@@ -57,6 +57,9 @@ local_all : $(PROGS) $(MODULES)
|
||||
lib_all :
|
||||
@( cd libami; $(MAKE) all )
|
||||
|
||||
lib_clean :
|
||||
@( cd libami; $(MAKE) clean )
|
||||
|
||||
.c.o:
|
||||
$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
|
||||
|
||||
@@ -170,8 +173,8 @@ ppmtoinfo : ppmtoinfo.o
|
||||
localetest : localetest.o $(LIBAMI)
|
||||
$(CC) -o localetest localetest.o $(LIBS)
|
||||
|
||||
clean :
|
||||
$(RM) core $(PROGS) $(LIBAMI) Keyboard *.o libami/*.o
|
||||
clean : lib_clean
|
||||
$(RM) core $(PROGS) $(LIBAMI) Keyboard *.o
|
||||
$(RM) lex.yy.c lex.c y.tab.c y.tab.h gram.h gram.c
|
||||
$(RM) kbdlexer.c kbdmodule.h kbdmodule.c
|
||||
$(RM) config.log
|
||||
|
||||
Reference in New Issue
Block a user