--- /dev/null
+# \83\89\83C\83u\83\89\83\8a\90¶\90¬\97pMakefile\r
+\r
+TARGET = chnlibc.lib\r
+OBJS = startup.obj\r
+\r
+TOOLPATH = ../../z_tools/\r
+INCPATH = ../../z_tools/CHNOSProject/\r
+\r
+SJISCONV = $(TOOLPATH)sjisconv.exe -s\r
+CC1 = $(TOOLPATH)cc1.exe -I$(INCPATH) -Os -Wall -quiet\r
+GAS2NASK = $(TOOLPATH)gas2nask.exe -a\r
+NASK = $(TOOLPATH)nask.exe\r
+GOLIB = $(TOOLPATH)golib00.exe\r
+MAKE = $(TOOLPATH)make.exe -r\r
+DELE = del\r
+\r
+ALL :\r
+ $(MAKE) $(TARGET)\r
+\r
+%.ca : %.c Makefile\r
+ $(SJISCONV) $*.c $*.ca\r
+\r
+%.gas : %.ca Makefile\r
+ $(CC1) -o $*.gas $*.ca\r
+\r
+%.nas : %.gas Makefile\r
+ $(GAS2NASK) $*.gas $*.nas\r
+\r
+%.obj : %.nas Makefile\r
+ $(NASK) $*.nas $*.obj\r
+\r
+$(TARGET) : $(OBJS) Makefile\r
+ $(GOLIB) out:$(TARGET) $(OBJS)\r
+\r
+clean :\r
+ -$(DELE) *.obj\r
+\r
+src_only :\r
+ $(MAKE) clean\r
+ -$(DELE) $(TARGET)\r