diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-02-07 12:41:01 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-02-07 12:41:01 +0000 |
commit | 256042cd776f4160c2b6aaadc3f634926279339f (patch) | |
tree | 26eb045352bbfcfe25ae0f455f8c4b94c97ebf90 /packages/gpephone/gsmmux/gsmmux-makefile.patch | |
parent | e9bc2c07ac4628c516e2d6098f7181fb7ed2aa8d (diff) | |
parent | f38a623b538f489500f4ef97cf8d957b2c69c5d3 (diff) |
merge of 'bbfe92716c8516623c7f965f29e1674c2d9b98dc'
and 'fda96508efa311cef118693c03ac023a13f325ca'
Diffstat (limited to 'packages/gpephone/gsmmux/gsmmux-makefile.patch')
-rw-r--r-- | packages/gpephone/gsmmux/gsmmux-makefile.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/gpephone/gsmmux/gsmmux-makefile.patch b/packages/gpephone/gsmmux/gsmmux-makefile.patch new file mode 100644 index 0000000000..66ac085f1d --- /dev/null +++ b/packages/gpephone/gsmmux/gsmmux-makefile.patch @@ -0,0 +1,28 @@ +--- Makefile.orig 2007-02-04 15:34:43.000000000 +0100 ++++ Makefile 2007-02-04 15:36:58.000000000 +0100 +@@ -5,9 +5,7 @@ + SRC = gsm0710.c buffer.c + OBJS = gsm0710.o buffer.o + +-CC = gcc +-LD = gcc +-CFLAGS = -Wall ++PACKAGE_CFLAGS = -Wall + LDLIBS = -lm + + ifeq ($(DEBUG),y) +@@ -21,9 +19,13 @@ + rm -f $(OBJS) $(TARGET) + + %.o: %.c +- $(CC) $(CFLAGS) -c -o $@ $< ++ $(CC) $(CFLAGS) $(PACKAGE_CFLAGS) -c -o $@ $< + + $(TARGET): $(OBJS) + $(LD) $(LDLIBS) -o $@ $(OBJS) + ++install: $(TARGET) ++ install -d $(DESTDIR)/$(PREFIX)/bin ++ install -m 755 $(TARGET) $(DESTDIR)/$(PREFIX)/bin ++ + .PHONY: all clean |