mirror of
https://github.com/cc65/cc65.git
synced 2024-12-22 12:30:41 +00:00
31e4d80ac8
git-svn-id: svn://svn.cc65.org/cc65/trunk@1833 b7a2c559-68d2-44c3-8de9-860c34a00d81
29 lines
514 B
Makefile
29 lines
514 B
Makefile
#
|
|
# Makefile for GEOS lib
|
|
# for cc65
|
|
#
|
|
# Maciej 'YTM/Elysium' Witkowiak
|
|
|
|
OBJ_DIRS=common conio devel disk dlgbox file graph menuicon memory mousesprite process runtime system
|
|
|
|
all:
|
|
@for i in $(OBJ_DIRS); do $(MAKE) -C $$i; done
|
|
@mv devel/crt0.o ../geos.o
|
|
@for i in $(OBJ_DIRS); do $(AR) a ../geos.lib $$i/*.o; done
|
|
|
|
rebuild: zap all clean
|
|
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
@for i in $(OBJ_DIRS); do \
|
|
cd $$i; \
|
|
$(MAKE) clean; \
|
|
cd ..; \
|
|
done
|
|
|
|
.PHONY: zap
|
|
zap: clean
|
|
@rm -f ../geos.lib ../geos.o
|
|
|