blob: 0ac5bacd730574c71f4f767db8c4405bf2f26feb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
--- a/Makefile
+++ b/Makefile
@@ -5,21 +5,19 @@
# See the file LICENSE for license terms.
#
-DEFS=-DBUILTIN_INCLUDE1=\"/usr/local/share/picasm/include\"
+CPPFLAGS += -DBUILTIN_INCLUDE1=\"/usr/share/picasm/include\"
#DEFS=-DBUILTIN_INCLUDE1=\"/home/trossi/bin/picasm-include\"
-CC = gcc
-CFLAGS = -Wall -Wshadow -W -Werror -O2 $(DEFS)
+CFLAGS += -Wall -Wshadow -W
RM = /bin/rm -f
VERSION=114
-OBJS = picasm.o config.o token.o symtab.o expr.o \
+OBJS = config.o token.o symtab.o expr.o \
pic12bit.o pic14bit.o pic16bit.o \
util.o
picasm: $(OBJS)
- $(CC) $(CFLAGS) $(OBJS) -o $@
clean:
$(RM) picasm *.o examples/*.hex examples/*.lst
|