fixed compile under freebsd

This commit is contained in:
git@daemon.de
2015-08-02 15:44:15 +02:00
parent 3a83b58a7e
commit 24a6b2f3be
3 changed files with 5 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ DICTFILE = /usr/share/dict/american-english
all: $(DST)
$(DST): $(OBJS)
gcc $(OBJS) -o $(DST)
gcc -DDICTFILE=$(DICTFILE) $(OBJS) -o $(DST)
%.o: %.c
gcc -c $(CFLAGS) -DDICTFILE=$(DICTFILE) $*.c -o $*.o