Codebase list libmawk / debian/1.0.0-2 src / example_apps / 12_input / Makefile
debian/1.0.0-2

Tree @debian/1.0.0-2 (Download .tar.gz)

Makefile @debian/1.0.0-2raw · history · blame

ROOT=../..

all: app

include $(ROOT)/libmawk/Makefile.conf
include ../Makefile.common

OBJS = app.o
CFLAGS = -I$(ROOT)

app: $(OBJS) $(ROOT)/libmawk/libmawk.a
	$(CC) $(LDFLAGS) $(OBJS) $(ROOT)/libmawk/libmawk.a -o $@ $(MATHLIB)

app.o: app.c

run: app
	./app -f test.awk

clean:
	rm -f $(OBJS) app

distclean: clean