Corrected a long-standing error in which ending text with a literal
[xcircuit.git] / spiceparser / Makefile_orig
blobdf062f1fa36a4b922f21db010229d1b7447595cc
1 OBJS = bitlist.o \
2 eqn.o \
3 eqnlist.o \
4 equations.o \
5 hash.o \
6 list.o \
7 list_search.o \
8 memory.o \
9 mergedup.o \
10 names.o \
11 netlist.o \
12 netlist_dev.o \
13 netlist_extract.o \
14 netlist_funcs.o \
15 netlist_lib.o \
16 netlist_spice.o \
17 netlist_template.o \
18 scanner.o \
19 sort.o \
22 CFLAGS = -Wall -I. -DCONFIGURED
24 CC = gcc
26 top: $(OBJS) example
28 :%.o:%.c:
29         $(CC) $(CFLAGS) -o $@ $<
31 example: README.c $(OBJS)
32         $(CC) $(CFLAGS) -o $@ $^ -lm 
34 run_example: example test.lib
35         ./example -i test.lib -o test.out -p test.pins
37 clean:
38         ${RM} -f *.o example test.out test.pins