aboutsummaryrefslogtreecommitdiff
path: root/jindroush/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'jindroush/lib/Makefile')
-rw-r--r--jindroush/lib/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/jindroush/lib/Makefile b/jindroush/lib/Makefile
new file mode 100644
index 0000000..bafe06c
--- /dev/null
+++ b/jindroush/lib/Makefile
@@ -0,0 +1,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 $<