all: gctest setjmp_t cordtest
clean:
- delete *.lib gctest setjmp_t *.o *.lnk cord/*.o cord/*.lib cord/*.lnk cord/tests/*.o cordtest
+ delete *.lib gctest setjmp_t *.o *.lnk cord/*.o cord/tests/*.o cordtest
smake
test: setjmp_t gctest cordtest
gctest
cordtest
-gctest: gc$(CPU).lib GCAmigaOS$(CPU).lib test.o
- $(LINKER) LIB:c.o test.o TO gctest LIB gc$(CPU).lib LIB:sc.lib $(MATHLIB)
+gctest: gc.lib GCAmigaOS$(CPU).lib test.o
+ $(LINKER) LIB:c.o test.o TO gctest LIB gc.lib LIB:sc.lib $(MATHLIB)
setjmp_t: setjmp_t.o gc.h
$(LINKER) LIB:c.o setjmp_t.o to setjmp_t lib LIB:sc.lib
-cordtest: cord/tests/cordtest.o cord/cord$(CPU).lib gc$(CPU).lib
- slink LIB:c.o cord/tests/cordtest.o LIB $(MATHLIB) gc$(CPU).lib cord/cord$(CPU).lib LIB:sc.lib TO cordtest
+cordtest: cord/tests/cordtest.o cord.lib gc.lib
+ $(LINKER) LIB:c.o cord/tests/cordtest.o LIB $(MATHLIB) gc.lib cord.lib LIB:sc.lib TO cordtest
#------------------LIBBING----------------------------
OBJS= alloc.o reclaim.o allchblk.o misc.o mach_dep.o os_dep.o mark_rts.o headers.o mark.o obj_map.o blacklst.o finalize.o new_hblk.o dyn_load.o dbg_mlc.o malloc.o checksums.o typd_mlc.o ptr_chck.o mallocx.o fnlz_mlc.o
-gc$(CPU).lib: $(OBJS)
- $(LIBER) gc$(CPU).lib r $(OBJS)
+gc.lib: $(OBJS)
+ $(LIBER) gc.lib r $(OBJS)
COBJS = cord/cordbscs.o cord/cordprnt.o cord/cordxtra.o
-cord/cord$(CPU).lib: $(COBJS)
- oml cord/cord$(CPU).lib r $(COBJS)
+cord.lib: $(COBJS)
+ $(LIBER) cord.lib r $(COBJS)
#------------------COMPILING--------------------------
# cords:
cord/cordbscs.o: cord/cordbscs.c
- sc cord/cordbscs.c $(CSCOPT)
+ $(CC) cord/cordbscs.c $(CSCOPT)
cord/cordprnt.o: cord/cordprnt.c
- sc cord/cordprnt.c $(CSCOPT)
+ $(CC) cord/cordprnt.c $(CSCOPT)
cord/cordxtra.o: cord/cordxtra.c
- sc cord/cordxtra.c $(CSCOPT)
+ $(CC) cord/cordxtra.c $(CSCOPT)
cord/tests/cordtest.o: cord/tests/cordtest.c
- sc cord/tests/cordtest.c $(CSCOPT)
+ $(CC) cord/tests/cordtest.c $(CSCOPT)