Major UI progress
This commit is contained in:
31
pui/Makefile
Normal file
31
pui/Makefile
Normal file
@@ -0,0 +1,31 @@
|
||||
CFLAGS := -Wall -O3 -g -D_GNU_SOURCE
|
||||
LDFLAGS := -lm
|
||||
|
||||
CFLAGS += `pkg-config pugl-0 --cflags`
|
||||
LDFLAGS += `pkg-config pugl-0 --libs`
|
||||
|
||||
PUISRC := container.cpp
|
||||
PUISRC += knob.cpp
|
||||
PUISRC += pui.cpp
|
||||
PUISRC += slider.cpp
|
||||
PUISRC += textures.cpp
|
||||
PUISRC += widget.cpp
|
||||
PUIOBJ := $(PUISRC:.cpp=.o)
|
||||
|
||||
CPP := g++
|
||||
|
||||
all: $(PUIOBJ)
|
||||
|
||||
clean:
|
||||
rm $(PUIOBJ) $(PUIO)
|
||||
|
||||
depend:
|
||||
makedepend $(PUISRC)
|
||||
|
||||
#$(PUIO): $(PUIOBJ)
|
||||
# $(CPP) -dynamiclib $(LDFLAGS) -static $(PUIOBJ) -o $@
|
||||
# $(CPP) $(LDFLAGS) -shared -fPIC -Wl,-soname,$(PUIO) $(PUIOBJ) -o $@
|
||||
|
||||
%.o: %.cpp
|
||||
$(CPP) -c -fPIC $(CFLAGS) $< -o $@
|
||||
|
Reference in New Issue
Block a user