summaryrefslogtreecommitdiffstats
path: root/Makefile_op
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile_op')
-rw-r--r--Makefile_op24
1 files changed, 13 insertions, 11 deletions
diff --git a/Makefile_op b/Makefile_op
index 6d34e67..5fff89a 100644
--- a/Makefile_op
+++ b/Makefile_op
@@ -4,17 +4,19 @@ CC = gcc
CFLAGS = '-DVERSION="$(VERSION)"' -w -Os -s #size
#CFLAGS = -w -O3 -s
#CFLAGS = -w -g #debug
-OBJECTS = op.o \
- progP12.o \
- progP16.o \
- progP18.o \
- progP24.o \
- progEEPROM.o \
- progAVR.o \
- fileIO.o \
- deviceRW.o \
- I2CSPI.o \
- strings.o
+SOURCES = op.c \
+ progP12.c \
+ progP16.c \
+ progP18.c \
+ progP24.c \
+ progEEPROM.c \
+ progAVR.c \
+ fileIO.c \
+ deviceRW.c \
+ I2CSPI.c \
+ strings.c
+
+OBJECTS = $(addsuffix .o, $(basename $(SOURCES)))
LDFLAG = -lrt