mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
27 lines
392 B
Makefile
27 lines
392 B
Makefile
#
|
|
# $FreeBSD$
|
|
|
|
CFLAGS+= -DINLINE
|
|
|
|
COBJS= compiler/cmdlib.o \
|
|
compiler/hash.o \
|
|
compiler/main.o \
|
|
compiler/pr_comp.o \
|
|
compiler/pr_lex.o \
|
|
compiler/qcc.o
|
|
|
|
DECOBJS= decompiler/cmdlib.o \
|
|
decompiler/decomp.o \
|
|
decompiler/main.o
|
|
|
|
.c.o:
|
|
${CC} ${CFLAGS} -c $< -o $*.o
|
|
|
|
all: c dec
|
|
|
|
c: ${COBJS}
|
|
${CC} ${LDFLAGS} -o frikqcc ${COBJS}
|
|
|
|
dec: ${DECOBJS}
|
|
${CC} ${LDFLAGS} -o frikqcdec ${DECOBJS}
|