Renamed package to ion1, and made it conflict with package 'ion'.
[ion1.git] / src / Makefile
blobd8ebcc4a0ee02b6e7c2d7fd2ad1d0604bf08d43d
1 ##
2 ## Ion Makefile
3 ##
5 # System-specific configuration is in system.mk
6 include ../system.mk
8 ######################################
10 LIBS += -L../libtu -ltu -lm $(X11_LIBS) -lX11
11 #-lefence
12 INCLUDES += -I../libtu/include $(X11_INCLUDES)
13 DEFINES += -DETCDIR=\"$(ETCDIR)\"
15 CFLAGS += $(XOPEN_SOURCE) $(MODULE_SUPPORT)
16 LDFLAGS += $(MODULE_SUPPORT_LDFLAGS)
18 OBJS= binding.o client.o clientwin.o complete.o complete_file.o confws.o \
19 cursor.o draw.o edln.o event.o exec.o focus.o font.o frame.o readfds.o \
20 frameid.o function.o key.o listing.o main.o obj.o pointer.o \
21 property.o query.o readconfig.o resize.o screen.o selection.o \
22 signal.o sizehint.o split.o thing.o wedln.o window.o winprops.o \
23 workspace.o xic.o input.o wmessage.o splitmisc.o modules.o \
24 command.o shortcut.o grab.o
26 TARGETS=ion
28 ######################################
30 include ../rules.mk
32 ######################################
34 ion: $(OBJS) $(EXT_OBJS)
35 $(CC) $(OBJS) $(EXT_OBJS) $(LDFLAGS) -o $@
37 _install:
38 $(INSTALLDIR) $(BINDIR)
39 $(INSTALL) -m $(BIN_MODE) ion $(BINDIR)
40 $(STRIP) $(BINDIR)/ion