Kart-Public/tools/gdbst03/src/library/makefile

31 lines
475 B
Makefile
Raw Normal View History

2014-03-15 16:59:03 +00:00
#
# Makefile for GDB Stub for DJGPP
#
# GDB Stub for DJGPP Copyright 2000 by Jonathan Brogdon
#
include ../../Makefile.cfg
CFLAGS += -I../../include -I../include
LOBJS = i386-stub.o i386-supp.o
all: library
library: $(LOBJS)
@$(RM) ../../lib/libgdbst.a
@$(AR) rcs ../../lib/libgdbst.a $(LOBJS)
dep:
@$(CC) $(CFLAGS) -M *.c > depend.dep
clean:
@$(RM) $(LOBJS)
distclean: clean
@$(RM) ../../lib/libgdbst.a
@$(RM) depend.dep
$(OBJS) $(LOBJS):
include depend.dep