Files
fa2json/Makefile

22 lines
303 B
Makefile

SHELL := /bin/bash
CC := cc
CFLAGS := -Wall -O2
TARGET := fa2json
SRCS := fs-watcher.c json-writer.c
.PHONY: all test dev clean
all: $(TARGET)
$(TARGET): $(SRCS)
$(CC) $(CFLAGS) -o $@ $^
test: $(TARGET)
node test/test.mjs
dev: $(TARGET)
node test/dev.mjs $(ARGS)
clean:
rm -f $(TARGET)