1
0
mirror of https://github.com/cc65/cc65.git synced 2024-10-30 12:28:25 +00:00
cc65/libsrc/geos/Makefile

28 lines
477 B
Makefile
Raw Normal View History

#
# 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
@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) ../geos.lib