~schnouki/pustule

ref: 2e90522e70214bb6d1bb88aef6f7d8c06152a99f pustule/Makefile -rw-r--r-- 424 bytes
2e90522e — Thomas Jost Expose log functions in Lua 10 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
all: pustule

CFLAGS ?= -O2
LDFLAGS ?= -O2

DEPS_CFLAGS  = -Wall `pkg-config --cflags lua libpulse` -DLOG_USE_COLOR
DEPS_LDFLAGS = -Wall `pkg-config --libs lua libpulse`

pustule: dyn_array.o events.o lua_mod.o main.o pulse.o argparse/argparse.o log.o
	$(CC) -o $@ $^ $(LDFLAGS) $(DEPS_LDFLAGS)

%.o: %.c pustule.h
	$(CC) -c -o $@ $< $(CFLAGS) $(DEPS_CFLAGS)

.PHONY: clean
clean:
	rm -f pustule
	find . -name '*.o' -delete