mirror of
https://github.com/ksherlock/profuse.git
synced 2024-06-26 04:29:27 +00:00
add freebsd makefile
git-svn-id: https://profuse.googlecode.com/svn/trunk@32 aa027e90-d47c-11dd-86d7-074df07e0730
This commit is contained in:
parent
aa8d1b0699
commit
911347ac13
33
makefile.freebsd
Executable file
33
makefile.freebsd
Executable file
|
@ -0,0 +1,33 @@
|
|||
|
||||
CC=g++
|
||||
CFLAGS=-c `pkg-config fuse --cflags`
|
||||
LDFLAGS=`pkg-config fuse --libs`
|
||||
SOURCES=main.cpp File.cpp Disk.cpp DiskCopy42.cpp UniversalDiskImage.cpp profuse_dirent.cpp profuse_file.cpp profuse_stat.cpp profuse_xattr.cpp
|
||||
OBJECTS=$(SOURCES:.cpp=.o)
|
||||
EXECUTABLE=profuse
|
||||
|
||||
all: $(SOURCES) $(EXECUTABLE)
|
||||
|
||||
$(EXECUTABLE): $(OBJECTS)
|
||||
$(CC) $(LDFLAGS) $(OBJECTS) -o $@
|
||||
|
||||
.cpp.o:
|
||||
$(CC) $(CFLAGS) $< -o $@
|
||||
|
||||
UniversalDiskImage.o: UniversalDiskImage.cpp UniversalDiskImage.h
|
||||
|
||||
DiskCopy42.o: DiskCopy42.cpp DiskCopy42.h
|
||||
|
||||
File.o: File.cpp File.h
|
||||
|
||||
Disk.o: Disk.cpp Disk.h File.h DiskCopy42.h UniversalDiskImage.h
|
||||
|
||||
main.o: main.cpp Disk.h File.h profuse.h
|
||||
|
||||
profuse_dirent.o: profuse_dirent.cpp profuse.h
|
||||
|
||||
profuse_file.o: profuse_file.cpp profuse.h
|
||||
|
||||
profuse_stat.o: profuse_stat.cpp profuse.h
|
||||
|
||||
profuse_xattr.o: profuse_xattr.cpp profuse.h
|
Loading…
Reference in New Issue
Block a user