14 lines
474 B
Diff
14 lines
474 B
Diff
--- Makefile.orig
|
|
+++ Makefile
|
|
@@ -30 +29,0 @@ all: clean $(TARGET) mans
|
|
-.PHONY: $(TARGET)
|
|
@@ -32 +31 @@ $(TARGET): $(OBJS)
|
|
- $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
|
|
+ $(CC) $(LDFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
|
|
@@ -35 +34 @@ $(ODIR)/%.o: $(SDIR)/%.c $(INCS)
|
|
- $(CC) -D'__VERSION="$(shell git describe --all --long --always)"' $(CFLAGS) -o $@ -c $<
|
|
+ $(CC) $(CFLAGS) -Iinclude -o $@ -c $<
|
|
@@ -38 +37 @@ $(ODIR)/%.o: $(SDIR)/%.c $(INCS)
|
|
-install: $(TARGET)
|
|
+install:
|