ldraw/lsynth/src/makefile

18 lines
363 B
Makefile
Raw Normal View History

2020-09-20 16:38:05 +02:00
CC=gcc
CFLAGS=-ggdb
AR = ar
RANLIB = ranlib
## This is lame. I don't know how to do both .c and .cpp for the OBJS line
## so I pretend L3*.cpp is L3*.c and make rules for them later.
#
SRCS = lsynthcp.c band.c hose.c curve.c mathlib.c
OBJS = $(SRCS:.c=.o)
all : lsynthcp
lsynthcp: $(OBJS) $(LIBS)
$(CC) $(CFLAGS) $(OBJS) -lm -o lsynthcp