ldraw/lsynth/makefile

18 lines
383 B
Makefile
Raw Permalink 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 = src/lsynthcp.c src/band.c src/hose.c src/curve.c src/mathlib.c
2020-09-20 16:38:05 +02:00
OBJS = $(SRCS:.c=.o)
all : lsynthcp
lsynthcp: $(OBJS) $(LIBS)
$(CC) $(CFLAGS) $(OBJS) -lm -o lsynthcp