aboutsummaryrefslogtreecommitdiff
path: root/jindroush/lib/Makefile
blob: bafe06c04871033d4ac26f0ac798fc79fa0c14a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
OBJS=adsk.o adsk_atr.o adsk_dcm.o adsk_di.o \
	  adsk_scp.o adsk_xfd.o at_dis.o autil.o \
	  cdsk.o cdsk_atr.o cdsk_dcm.o cdsk_scp.o \
	  cdsk_xfd.o cfile.o cgenfile.o cobj.o cprefile.o \
	  cdisk.o cfs.o cfs_b2b.o cfs_boot.o cfs_dos2.o \
	  cfs_dos3.o cfs_dosm.o cfs_doss.o cfs_howf.o \
	  cfs_jonw.o cfs_kboo.o cfs_robc.o

COPT=-O2
CXX=g++
CXXFLAGS=$(COPT) -D__CDISK_SAVE__ -D__CDISK_WRITE__

all: libjindroush.a

libjindroush.a: $(OBJS)
	ar r libjindroush.a $(OBJS)
	ranlib libjindroush.a

clean:
	rm -f *.o *.a

%.o : %.cpp
	$(CXX) -I../include $(CXXFLAGS) -c $<