Makefile - scc - simple c99 compiler
HTML git clone git://git.simple-cc.org/scc
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
Makefile (320B)
---
1 .POSIX:
2
3 PROJECTDIR = ../..
4 include $(PROJECTDIR)/scripts/rules.mk
5
6 OBJS =\
7 debug.o\
8 die.o\
9 newitem.o\
10 xcalloc.o\
11 xmalloc.o\
12 xrealloc.o\
13 xstrdup.o\
14 alloc.o\
15 casecmp.o\
16 genhash.o\
17
18 TARGET = libscc.a
19
20 all: $(TARGET)
21
22 $(TARGET): $(OBJS)
23 $(AR) $(PROJ_ARFLAGS) $@ $?
24 $(RL) $(PROJ_RLFLAGS) $@
25 cp $@ $(LIBDIR)/scc