24 lines
No EOL
547 B
Makefile
24 lines
No EOL
547 B
Makefile
COMPILE = ../tcc/tcc
|
|
|
|
noinst_LIBRARIES = libtcc1.a
|
|
|
|
libtcc1_a_SOURCES = alloca.S atomic.S builtin.c libtcc1.c stdatomic.c
|
|
|
|
libtcc1_a_AR = ../tcc/tcc -ar cr
|
|
libtcc1_a_DEPENDENCIES = ../tcc/tcc
|
|
libtcc1_a_RANLIB = @echo
|
|
|
|
alloca.o: alloca.S
|
|
$(COMPILE) -o $@ -c $^ -I$(srcdir)/include
|
|
|
|
atomic.o: atomic.S
|
|
$(COMPILE) -o $@ -c $^ -I$(srcdir)/include
|
|
|
|
builtin.o: builtin.c
|
|
$(COMPILE) -o $@ -c $^ -I$(srcdir)/include
|
|
|
|
libtcc1.o: libtcc1.c
|
|
$(COMPILE) -o $@ -c $^ -I$(srcdir)/include
|
|
|
|
stdatomic.o: stdatomic.c
|
|
$(COMPILE) -o $@ -c $^ -I$(srcdir)/include
|