Skip to content

Commit

Permalink
fix Makefile.lin64
Browse files Browse the repository at this point in the history
  • Loading branch information
hotbso committed May 31, 2018
1 parent b566360 commit e54f12e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile.lin64
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
PLUGINS="/opt/x-plane/X-Plane/Resources/plugins"
PLUGINS=../X-Plane/Resources/plugins/xgs
SDK=../SDK
ACFUT=../libacfutils-redist

TARGET=lin.xpl
HEADERS=$(wildcard *.h)
SOURCES=$(wildcard *.c)
OBJECTS=$(SOURCES:.c=.o)

CFLAGS=-Wall -I$(SDK)/CHeaders/XPLM -DLIN=1 -DXPLM200 -fPIC -fno-stack-protector
CFLAGS=-Wall -I$(SDK)/CHeaders/XPLM -I$(ACFUT)/include -DLIN=1 -DXPLM200 -fPIC -fno-stack-protector
LNFLAGS=-shared -rdynamic -nodefaultlibs -undefined_warning
LIBS= #$(PLUGINS)/XPLM.so $(PLUGINS)/XPWidgets.so
LIBS=-L$(ACFUT)/lin64/lib -lacfutils

all: $(TARGET)

Expand All @@ -22,6 +23,5 @@ clean:
rm -f $(OBJECTS) $(TARGET)

install: $(TARGET)
cp -f $(TARGET) $(PLUGINS)

cp -p $(TARGET) $(PLUGINS)/64

0 comments on commit e54f12e

Please sign in to comment.