home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 March
/
VPR9703A.ISO
/
VPR_DATA
/
DOGA
/
SOURCES
/
POLYEDIT.LZH
/
ML
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1996-03-07
|
1KB
|
40 lines
CC = gcc
LK = gcc
#CFLAGS = -Wall -DX68K -I../lib -O -fstrength-reduce -fomit-frame-pointer -m68881 -m68020
CFLAGS = -Wall -DX68K -I../lib -O -fstrength-reduce -fomit-frame-pointer
LIBS = ../lib/lib.a
CLIBS = -lmalloc -ldos -lflfnc
TARGET = ml.a
OBJS1 = ml.o extend.o
OBJS2 = exec1.o exec2.o exec3.o
OBJS3 = parse1.o parse2.o parse3.o std.o check.o scanner.o code.o
OBJS4 = init.o stack.o class.o object.o func.o ident.o str.o alloc.o err.o
OBJS = $(OBJS1) $(OBJS2) $(OBJS3) $(OBJS4)
all : $(TARGET)
.SUFFIXES: .x .o .s .c
%.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
%.s : %.c
$(CC) $(CFLAGS) -S $< -o $@
$(TARGET) : $(OBJS)
ar $(temp)$(TARGET) $(OBJS1)
ar $(temp)$(TARGET) $(OBJS2)
ar $(temp)$(TARGET) $(OBJS3)
ar $(temp)$(TARGET) $(OBJS4)
copy $(temp)$(TARGET) $(TARGET)
del $(temp)$(TARGET)
test.x : test.o $(TARGET)
$(LK) test.o $(TARGET) $(LIBS) $(CLIBS) -o test.x
mlbcomp.x : mlbcomp.o $(TARGET)
$(LK) mlbcomp.o $(TARGET) $(LIBS) $(CLIBS) -o mlbcomp.x