rocket/Makefile
Erik Faye-Lund 2b86c31b5a makefile: add all object files to archive
For some reason I haven't noticed until now that the Makefile
only added the first object-file to the library. Fix that.
2011-01-14 00:40:13 +01:00

23 lines
319 B
Makefile

# default target
all:
# default build flags
CFLAGS = -g -O2 -Wall
# user-defined config file (if available)
-include config.mak
SYNC_OBJS = \
sync/data.o \
sync/device.o \
sync/track.o
all: lib/librocket.a
clean:
$(RM) -rf $(SYNC_OBJS) lib
lib/librocket.a: $(SYNC_OBJS)
@mkdir -p lib
$(AR) $(ARFLAGS) $@ $^