ssc/gal/Makefile

16 lines
284 B
Makefile
Raw Normal View History

2021-03-27 07:08:22 +00:00
GALASM := galasm
SRCS := $(wildcard *.pld)
JEDFILES := ${SRCS:.pld=.jed}
CHIPFILES := ${SRCS:.pld=.chp}
FUSEFILES := ${SRCS:.pld=.fus}
PINFILES := ${SRCS:.pld=.pin}
all: ${JEDFILES}
clean:
rm -f ${JEDFILES} ${CHIPFILES} ${FUSEFILES} ${PINFILES}
%.jed: %.pld
${GALASM} $<