repo.or.cz
/
xcircuit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Corrected a long-standing error in which ending text with a literal
[xcircuit.git]
/
spiceparser
/
Makefile_orig
blob
df062f1fa36a4b922f21db010229d1b7447595cc
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 \
20
21
22
CFLAGS = -Wall -I. -DCONFIGURED
23
24
CC = gcc
25
26
top: $(OBJS) example
27
28
:%.o:%.c:
29
$(CC) $(CFLAGS) -o $@ $<
30
31
example: README.c $(OBJS)
32
$(CC) $(CFLAGS) -o $@ $^ -lm
33
34
run_example: example test.lib
35
./example -i test.lib -o test.out -p test.pins
36
37
clean:
38
${RM} -f *.o example test.out test.pins