Browse Source

Add a Makefile to ease app generation

better-rectangles
Tissevert 8 months ago
parent
commit
dac5a8be44
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      Makefile

+ 12
- 0
Makefile View File

@ -0,0 +1,12 @@
SRCDIR=src
SRC=$(wildcard $(SRCDIR)/**/*.js)
LIB=unitJS
TARGET=main.js
all: $(TARGET)
$(TARGET): $(SRC)
sjw $(LIB:%=-I %) $(SRCDIR) > $@
mrproper:
rm $(TARGET)

Loading…
Cancel
Save