esm/Makefile
2025-03-07 20:41:24 -05:00

19 lines
277 B
Makefile

#
# Makefile
#
include config.mk
SDIR = ./src
BDIR = ./build
all: $(SDIR)/esm.c $(SDIR)/util.c $(SDIR)/util.h
mkdir $(BDIR)
$(CC) $(SDIR)/esm.c $(SDIR)/util.c -o $(BDIR)/esm $(LIBFLAGS) $(CFLAGS)
install:
install $(BDIR)/esm $(PREFIX)/bin -m 755
clean:
rm -rf $(BDIR)