This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
magicka/utils/fileapprove/Makefile

16 lines
291 B
Makefile
Raw Normal View History

2016-08-08 04:25:10 +00:00
CC=cc
CFLAGS=-I/usr/local/include
DEPS = fileapprove.c
OBJ = fileapprove.o
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
fileapprove: $(OBJ)
$(CC) -o fileapprove -o $@ $^ $(CFLAGS) -L/usr/local/lib -lsqlite3 -lncurses -lcdk
.PHONY: clean
clean:
rm -f $(OBJ) fileapprove