1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 15:29:46 +00:00
cc65/libsrc/geos/Makefile
uz 53dd513176 This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-28 13:40:48 +00:00

36 lines
634 B
Makefile

#
# Makefile for GEOS lib
# for cc65
#
# Maciej 'YTM/Alliance' Witkowiak
export CC = ../../../src/cc65
export CFLAGS = -O
export AS = ../../../src/ca65/ca65
export ASFLAGS =
AR = ../../src/ar65/ar65
OBJ_DIRS=disk dlgbox file graph menuicon memory mousesprite process system
all:
@for i in devel $(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