screen_savers/Nebula: Switch to using a Jamfile.
This commit is contained in:
parent
c5fe084ea4
commit
2f4d14b7e8
@ -10,6 +10,7 @@ SubInclude HAIKU_TOP src add-ons screen_savers icons ;
|
||||
SubInclude HAIKU_TOP src add-ons screen_savers ifs ;
|
||||
SubInclude HAIKU_TOP src add-ons screen_savers leaves ;
|
||||
SubInclude HAIKU_TOP src add-ons screen_savers message ;
|
||||
SubInclude HAIKU_TOP src add-ons screen_savers nebula ;
|
||||
SubInclude HAIKU_TOP src add-ons screen_savers shelf ;
|
||||
SubInclude HAIKU_TOP src add-ons screen_savers simpleclock ;
|
||||
SubInclude HAIKU_TOP src add-ons screen_savers slideshowsaver ;
|
||||
|
10
src/add-ons/screen_savers/nebula/Jamfile
Normal file
10
src/add-ons/screen_savers/nebula/Jamfile
Normal file
@ -0,0 +1,10 @@
|
||||
SubDir HAIKU_TOP src add-ons screen_savers nebula ;
|
||||
|
||||
SubDirC++Flags -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -Wno-error ;
|
||||
|
||||
AddResources Nebula : Nebula.rdef ;
|
||||
|
||||
ScreenSaver Nebula :
|
||||
Nebula.cpp :
|
||||
be libscreensaver.so [ TargetLibsupc++ ]
|
||||
;
|
@ -1,40 +0,0 @@
|
||||
#include $(TOP)/config/make.cfg
|
||||
|
||||
CFLAGS = -O3 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations
|
||||
#CFLAGS = -g
|
||||
|
||||
LIBS = -lbe -lscreensaver
|
||||
NAME = Nebula
|
||||
FILES = Nebula
|
||||
ASMFILES =
|
||||
OBJDIR = obj.x86
|
||||
|
||||
STARFILES := $(foreach f, $(STARWIDTHS), $(STARFILE)$(f))
|
||||
|
||||
SRCS := $(foreach f, $(FILES), $(f).cpp)
|
||||
ASMSRCS := $(foreach f, $(ASMFILES), $(f).S)
|
||||
|
||||
OBJS := $(foreach f, $(FILES) $(ASMFILES) $(STARFILES), $(OBJDIR)/$(f).o)
|
||||
|
||||
all: $(NAME)
|
||||
|
||||
install: all
|
||||
@mv $(NAME) /boot/home/config/add-ons/Screen\ Savers/
|
||||
|
||||
test: all
|
||||
@screen_blanker /boot/home/develop/div/ScreenSavers/$(NAME)/$(NAME)
|
||||
|
||||
clean:
|
||||
@rm $(OBJDIR)/*
|
||||
|
||||
Nebula: $(OBJS)
|
||||
@echo "Linking $@..."
|
||||
@$(CC) $(OBJS) -o $@ -nostart $(LIBS)
|
||||
xres -o $@ $@.rsrc
|
||||
mimeset -f $@
|
||||
|
||||
$(OBJDIR)/%.o : %.cpp
|
||||
$(CC) -c $*.cpp -o $(OBJDIR)/$*.o $(CFLAGS)
|
||||
|
||||
tar zip backup:
|
||||
@zip `basename $(NAME)`-`date +%Y-%m-%d`.zip *.[chS]* *.rsrc makefile
|
Loading…
Reference in New Issue
Block a user